This will be used by the upcoming test-admin-upgrade-endoflife.sh
Closes: #874
Approved by: cgwalters
{
boot_checksum_iteration=${1:-0}
content_iteration=${2:-0}
+ branch=${3:-testos/buildmaster/x86_64-runtime}
echo "BOOT ITERATION: $boot_checksum_iteration"
cd ${test_tmpdir}/osdata
rm boot/*
version=$(date "+%Y%m%d.${content_iteration}")
- ${CMD_PREFIX} ostree --repo=${test_tmpdir}/testos-repo commit --add-metadata-string "version=${version}" -b testos/buildmaster/x86_64-runtime -s "Build"
+ ${CMD_PREFIX} ostree --repo=${test_tmpdir}/testos-repo commit --add-metadata-string "version=${version}" -b $branch -s "Build"
cd ${test_tmpdir}
}